package com.trackerapp.util;

import android.content.res.Resources;
import android.graphics.drawable.Drawable;
import android.util.DisplayMetrics;


public class ResourcesUtil {
    private static Resources resources;


    //  ############################################################################
//  #                                MessageUtil                               #
//  ############################################################################
    // Mandatory: We need to initialize this class when the application starts.
    public static void initializeResourcesUtil(Resources res) {
        resources = res;
    }


    public static String getString(int id) {
        return resources.getString(id);
    }


    public static boolean getBoolean(int id) {
        return resources.getBoolean(id);
    }


    public static int getColor(int id) {
        return resources.getColor(id);
    }


    public static float getDimension(int id) {
        return resources.getDimension(id);
    }


    public static Drawable getDrawable(int id) {
        return resources.getDrawable(id);
    }


    public static int getInteger(int id) {
        return resources.getInteger(id);
    }


    public static int[] getIntArray(int id) {
        return resources.getIntArray(id);
    }


    public static String[] getStringArray(int id) {
        return resources.getStringArray(id);
    }

//  ############################################################################
}
